package spring.board.service;

import java.util.List;

import org.springframework.stereotype.Service;

import spring.board.dao.UploadImageDao;
import spring.board.vo.UploadImageVO;

@Service
public class UploadImageService implements IUploadImageService {
    

	private UploadImageDao uploadImageDao;
	

	public UploadImageDao getUploadImageDao() {
		return uploadImageDao;
	}
	public void setUploadImageDao(UploadImageDao uploadImageDao) {
		this.uploadImageDao = uploadImageDao;
	}
	@Override
	public List<UploadImageVO> uploadList(String username) {
		return uploadImageDao.uploadList(username);
	}
	@Override
	public int uploadBlock() {
		return uploadImageDao.uploadBlock();
	}
	@Override
	public void uploadWrite(UploadImageVO upload) {
		uploadImageDao.uploadWrite(upload);
	}
	@Override
	public UploadImageVO uploadView(String num) {
		return uploadImageDao.uploadView(num);
	}
	@Override
	public void uploadUpdate(UploadImageVO upload) {
		uploadImageDao.uploadUpdate(upload);
	}
	@Override
	public void uploadDelete(String num) {
		uploadImageDao.uploadDelete(num);
	}

	
}